<include file="Public:header" />
<div class="wrapbody">
	<div class="main">
		<div class="myright" style="width: 1168px;margin-top: 10px;">
			<div class="wraphtml">
				<div class="f_title clearfix">
					<div class="f_title_span left">
						<span class="">

							<a href="{:U('Game/bazaar')}">{:L('逛集市')}</a>
						</span>
						<span class="">
                            <i></i>
							<a href="{:U('Game/bazaar_mywt')}">{:L('集市委托')}</a>
						</span>
                        <span class="current">
							<a href="{:U('Game/bazaar_mycj')}">{:L('我的交易')}</a>
						</span>
						<span class="">
							<a href="{:U('Game/bazaar_whole')}">{:L('全站记录')}</a>
						</span>
					</div>
				</div>
				<notempty name="prompt_text">
					<div class="mytips" style="    margin: 0px;">
						<h6 style="color: #ff8000;">{:L('温馨提示')}</h6>
						{$prompt_text}
					</div>
				</notempty>
				<div class="f_body">
					<table class="f_table" id="investLog_content">
						<thead>
							<tr>
								<th id="sublist-grid_c0"><select name="type" id="coin_selectTest">
										<volist name=":C('coin_list')" id="vo">
										<option value="{$key}"<eq name="coin" value="$key">selected</eq>>{$vo['title']}</option>
										</volist>
								</select></th>
								<th id="sublist-grid_c1">{:L('类型')}</th>
								<th id="sublist-grid_c1">{:L('数量')}</th>
								<th id="sublist-grid_c2">{:L('单价')}</th>
								<th id="sublist-grid_c3">{:L('总金额')}</th>
								<th id="sublist-grid_c3">{:L('总佣金')}</th>
								<th id="sublist-grid_c4">{:L('时间')}</th>
							</tr>
						</thead>
						<tbody>
							<volist name="list" id="vo">
							<tr>
								<td>{:C('coin')[$vo['coin']]['title']}</td>

                                <if condition="$vo['type'] eq 1">
                                    <td style="color: green;">{:L('卖出')}</td>
                                    <else />
                                    <td style="color: red;">{:L('撤销')}</td>
                                </if>
								<td>{$vo['num']}</td>
								<td>{$vo['price']}</td>
								<td>{$vo['mum']}</td>
								<td>{$vo['fee']}</td>
								<td>{$vo['addtime']|addtime}</td>
							</tr>
							</volist>
						</tbody>
					</table>
					<div class="pages">{$page}</div>
				</div>
			</div>
		</div>
	</div>
</div>
<br>
<script>
    $("#coin_selectTest").change(function () {
        var coin = $("#coin_selectTest option:selected").val();
        window.location = '/Game/bazaar_mycj/coin/' + coin + '.html';
    });


    //菜单高亮
    $('#bazaar_box').addClass('active');
</script>
<include file="Public:footer" />